import request from '@/utils/request'

export function getList(page, size, userId) {
  return request({
    url: `/shop/pageShop/${page}/${size}/${userId}`,
    method: 'get'
  })
}

export function addShop(shop) {
  return request({
    url: `/shop/addShop`,
    method: 'post',
    params: shop
  })
}
